<body>
	<div class="subnav">
		<div class="content-menu ib-a blue line-x">
			<a href='/Menu/'><em>菜单管理</em></a><span>|</span> <a
				href='javascript:;' class="on"><em>编辑菜单</em></a>
		</div>
	</div>
	<form name="myform" id="myform" action="/Menu/edit/"
		onsubmit="return form_submit()" method="post">
		<div class="common-form">
			<table width="100%" class="table_form contentWrap">
				<tr>
					<th width="200"><strong>上级菜单：</strong></th>
					<td><select name="parentid" style="width: 200px;">
						<option value="0">作为一级菜单</option>
						<?php echo $select_categorys ?>
					</select></td>
				</tr>
				<tr>
					<th><strong>菜单名称：</strong></th>
					<td><input type="text" name="name" id="name"
						value="<?php echo $Menu_info['Menu']['name'] ?>" class="input-text"></td>
				</tr>
				<tr>
					<th><strong>功能地址：</strong></th>
					<td><input type="text" name="controller" id="controller"
						value="<?php echo $Menu_info['Menu']['controller'] ?>" class="input-text"></td>
				</tr>
				<tr>
					<th><strong>附加参数：</strong></th>
					<td><input type="text" name="params" value="<?php echo $Menu_info['Menu']['data'] ?>"
						class="input-text"></td>
				</tr>
				<tr>
					<th><strong>是否显示菜单：</strong></th>
					<td><input type="radio" name="display" <?php if($Menu_info['Menu']['display']==1){ ?>checked<?php } ?> value="1"> 是 <input
						type="radio" name="display" <?php if($Menu_info['Menu']['display']==0){ ?>checked<?php } ?> value="0">否</td>
				</tr>
			</table>
			<!--table_form_off-->
		</div>
		<div class="bk15"></div>
		<div class="btn">
			<input name="id" type="hidden" value="<?php echo $Menu_info['Menu']['id'] ?>"> <input
				type="submit" id="dosubmit" class="button" name="dosubmit"
				value="提 交" />
		</div>
	</form>
</body>